8331541: [i386] linking with libjvm.so fails after JDK-8283326
authorVladimir Petko <vladimir.petko@canonical.com>
Fri, 10 Apr 2026 10:59:14 +0000 (22:59 +1200)
committerVladimir Petko <vladimir.petko@canonical.com>
Fri, 10 Apr 2026 10:59:14 +0000 (22:59 +1200)
commita10487b83f6d1afb8c2dfdc9d8b654b2e4d156f8
treea3543d2cd7fe59e5fc0bb19889f0ee222c5ca361
parent3d7c52ac30907831cc1e20b6910a6f9ea8dcf5e5
8331541: [i386] linking with libjvm.so fails after JDK-8283326

Origin: https://github.com/openjdk/jdk/pull/19048
Bug: https://bugs.openjdk.org/browse/JDK-8331541
Applied-Upstream: commit:2d622152b07bba0aba8fd5b1e24293e28d6e69f5
Last-Update: 2024-05-02

i386 declaration of _SafeFetch32_impl contains an underscore
that causes an undefined symbol in libjvm.so.
Disable -Wl,--allow-shlib-undefined link flag that allowed the
build to succeed.

Gbp-Pq: Name jdk-8331541.patch
make/autoconf/flags-ldflags.m4
src/hotspot/os_cpu/linux_x86/safefetch_linux_x86_32.S